package com.zzj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.entity.File;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzj
 * @since 2023-03-15
 */
public interface IFileService extends IService<File> {
    String upload(MultipartFile file, String filePath) throws IOException;
    String uploadVoice(MultipartFile file, String filePath) throws IOException;
}
